| What is the use of command "clean install" in Maven?
When we say about the clean install in Maven it is to clean the project by deleteing the output directories and files generated during the build process. And also builds and installs the project artifacts into the local Maven repository.
mvn clean install
And we can run the command from the IDE also by navigating by clicking Right on the project root in the project tool window, then in next step go to "Maven" and then select "install". | | |